The Linear Gauge Tool is an ActiveX control. As such, a Linear Gauge Tool object has an ActiveX page on the Property Sheet. Many of these properties are the object’s formatting properties. Values for the ActiveX Properties can be set directly on the ActiveX page or in the OCX Properties dialog box, which is accessed by clicking the (OCXProperties) property.
| Property | Description | Related Properties |
|---|---|---|
|
Enables automatic centering of the component within its boundary. Default is 0 - No. If set to 0 - No, the component is aligned left in the boundary. OffsetX and OffsetY can be used to move the placement of the component in the boundary. |
||
|
Specifies whether the object controls its update rate. Default is 0 - No. When set to 1 - Yes, the object is repainted at the rate specified by the UpdateFrameRate property. |
UpdateFrameRate | |
|
Specifies the desired TickMajorCount when AutoScaleEnabled is set to 1 - Yes. Default is 5. Due to the algorithm used to calculate the tick counts, the actual count may vary. |
AutoScaleEnabled | |
|
Enables auto scaling of the indicator. Default is 0 - No. |
||
|
Specifies the maximum TickMajorCount when AutoScaleEnabled is set to 1 - Yes. Due to the algorithm used to calculate the tick counts, the actual count may vary. Default is 6. |
AutoScaleEnabled | |
|
Specifies the style of adjustment for the PositionMin and PositionMax when AutoScaleEnabled is set to 1 - Yes. When set to 0 - iassAutoMinMax, PositionMin and PositionMax are adjusted so that the scale starts and stops on a major tick. |
AutoScaleEnabled | |
|
Specifies the color of the object background. Default is gray (RGB 236.233.216). The background color is not shown if the Transparent property is set to 1 - Yes. |
||
|
Specifies the name of an image file to show on the background of the object. Default is blank. |
||
|
Specifies the border style of the object. Default is 0 - ibsNone. Other options are 1 - ibsRaised and 2 - ibsLowered. |
||
|
Enables optimizing the display of the object. Default is 1 - Yes. |
||
|
Specifies the maximum value reached by the Position property. It is reset each time the Position value is greater than the CurrentMax value. The only way to access the value is programmatically (i.e., using script). |
||
|
Specifies the minimum value reached by the Position property. It is reset each time the Position value is less than the CurrentMin value. The only way to access the value is programmatically (i.e., using script). |
||
|
Enables user interaction with the object. If set to 0 - No, the object is still shown but its context menu is disabled. Default is 1 - Yes. |
||
|
Specifies the margin (in pixels) between the indicator ends and the object boundary. Default is 10. |
||
|
Specifies the height (in pixels) of the object. |
||
|
Specifies the color of the max pointer. Default is cyan (RGB 0.255.255). |
ShowMaxPointer | |
|
Enables the Min and Max pointers to be fixed or track the range of the Position property. Default is 0 - No. |
||
|
Specifies the margin (in pixels) between the Min and Max pointers and the indicator. Default is 0. |
||
|
Specifies the size (in pixels) of the pointers. Default is 8. |
||
|
Enables a user to move the Min and Max pointers in Run mode. Default is 1 - Yes. |
||
|
Specifies the color of the Min pointer. Default is yellow (RGB 255.255.0). |
ShowMinPointer | |
|
Specifies the offset of the indicator from the object’s x-axis. Default is 0. |
||
|
Specifies the offset of the indicator from the object’s y-axis. Default is 0. |
||
|
Enables the SaveAllPropertiesToFile method to save just the ActiveX Properties or all object properties. Default is 0 - No, which means that only ActiveX Properties are saved. |
||
|
Specifies the orientation of the indicator. The default is 0-ioVertical. |
||
|
Specifies the location of the ticks marks in relation to the indicator. If the object orientation is vertical, the option is the left or right side. If it is horizontal, the option is top or bottom. Default is 0 - iosBottomRight. |
||
|
Specifies the color of the pointer 0. Default is blue (RGB 0.0.255). |
[AlarmElement] | |
|
Specifies the offset between the Pointer and the axis of the tick marks. Default is 0. |
||
|
Specifies the size in pixels of pointer 0. Default is 10. |
||
|
Specifies the style of pointer 0. Default is 0 - ilgpsPointer. Other options are 1 - ilgpsTriangle, 2-ilgpsLine, 3 - ilgpsColorBar. |
||
|
Specifies the position of indicator. Default is 0. If the object is associated with a point, the point’s value sets the position. If PositionPercent is specified, this value is calculated. If this value is specified, PositionPercent is calculated. |
||
|
Specifies the upper limit of the indicator level. Default is 100. |
||
|
Specifies the lower limit of the indicator level. Default is 0. |
||
|
Specifies the level of the indicator in terms of percent in regards to the range (PositionMax and PositionMin). If Position is specified, this value is calculated. If this value is specified, Position is calculated. Default is 0. Valid range is 0.00 (0%) and 1.00 (100%). |
||
|
Specifies if the labels will show precision as significant digits (integers) or with decimal places. Default is 1 - ipsFixedDecimal Points, which enables the labels to show the number of decimal places specified by the TickLabelPrecision property. |
TickLabelPrecision | |
|
Enables reversing the scale. Normal scaling runs negative to positive left to right or bottom to top. Default is 0 - No. |
||
|
Specifies the color of Section 1. Default is green (RGB 0.128.0). Note: In script, you can set this and other color properties using the VBScript function 'control.somecolor = RGB (255,0,0).' |
||
|
Specifies the color of Section 2. Default is yellow (RGB 255.255.0). Note: In script, you can set this and other color properties using the VBScript function 'control.somecolor = RGB (255,0,0).' |
||
|
Specifies the color of Section 3. Default is red (RGB 255.0.0). Note: In script, you can set this and other color properties using the VBScript function 'control.somecolor = RGB (255,0,0).' |
||
|
Specifies the color of Section 4. Default is yellow (RGB 255.255.0). Note: In script, you can set this and other color properties using the VBScript function 'control.somecolor = RGB (255,0,0).' |
||
|
Specifies the color of Section 5. Default is yellow (RGB 255.255.0). Note: In script, you can set this and other color properties using the VBScript function 'control.somecolor = RGB (255,0,0).' |
||
|
Specifies the number of color sections. Default is 0. |
||
|
Specifies the end value for Section 1. Default is 50. |
||
|
Specifies the end value for Section 2. Default is 75. |
||
|
Specifies the end value for Section 3. Default is 0. |
||
|
Specifies the end value for Section 4. Default is 0. |
||
|
Enables display of the Max Pointer. Default is 0 - No. |
||
|
Enables display of the Min Pointer. Default is 0 - No. |
||
|
Enables display of the tick mark labels. Default is 1 - Yes. |
||
|
Enables display of the x-axis for the ticks. Default is 1 - Yes. |
||
|
Enables display of the major tick marks. Default is 1 - Yes. |
||
|
Enables display of the minor tick marks. Default is 1 - Yes. |
||
|
Specifies the font for the tick labels. Default is MS Sans Serif (8 point). |
||
|
Specifies the color of the tick mark labels. Default is black (RGB 0.0.0). |
||
|
Specifies the margin (in pixels) between the labels and major tick marks. Default is 5. |
||
|
Specifies the number of decimal places for the tick labels. Default is 0. To use any value other than 0, TickLabelPrecison must be set to 1 - ipsFixedDecimal Points. |
PrecisionStyle | |
|
Specifies the color of the major tick marks. Default is black (RGB 0.0.0). |
||
|
Specifies the number of major tick marks displayed on the scale span. Default is 5. |
||
|
Specifies the length (in pixels) of the major tick marks. Default is 20. |
||
|
Specifies the style of the major tick marks. Default is 2 - ibsLowered. Other options are 0 - ibsNone and 1 - ibsRaised. |
||
|
Specifies the size of the margin (in pixels) between the tip of the pointer and the tick marks. Default is 0. |
||
|
Specifies the alignment of the minor tick marks in relation to the major tick marks. Default is 0 - itmnaInside. Other options are 1 - itmnaCenter and 2 - itmnaOutside. |
||
|
Specifies the number of minor tick marks displayed between major tick marks. Default is 4. |
||
|
Specifies the number of minor tick marks displayed on the scale span. Default is 4. |
||
|
Specifies the length (in pixels) of the minor tick marks. Default is 7. |
||
|
Specifies the style of the minor tick marks. Default is 0 - ibsNone. Other options are 1 - ibsRaised and 2 - ibsLowered. |
||
|
Enables transparency of the object background. Default is 0 - No. |
||
|
Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes. |
AutoFrameRate | |
|
Enables the visibility of the object on TheView. Default is 1 - Yes. |
||
|
Specifies the width (in pixels) of the object. |